.PHONY:all
all:writeintopipe readfrompipe

writeintopipe:writeintopipe.cc
	g++ -o $@ $^ -std=c++11
readfrompipe:readfrompipe.cc
	g++ -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -f writeintopipe readfrompipe